package org.micode.common.domain.vo;

import javax.validation.constraints.NotNull;

public class KeyVO<T> {

    @NotNull(message = "{KeyVO.key.notnull}")
    private T key;

    public KeyVO() {
    }

    public KeyVO(T key) {
        this.key = key;
    }

    public T getKey() {
        return key;
    }

    public void setKey(T key) {
        this.key = key;
    }

}
